package com.walker.spring.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author qinmu
 * @create 2017-10-16-22:20
 */
public class DemoEvent extends ApplicationEvent {

    private String message;

    public DemoEvent(Object source,String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
